package io.renren.modules.projectinfo.entity;

import io.renren.common.validator.group.AddGroup;
import io.renren.common.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author 黄清
 * @email
 * @date 2018-10-18 15:20:31
 */
public class ProjectinfosEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//项目信息id
	private String projectinfoid;
	//地区id
	@NotNull(message="地区不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer areainfoid;
	//发布者
	@NotBlank(message="发布者不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String createuser;
	//项目名称
	@NotBlank(message="项目名不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String projectname;
	//项目详细
	@NotBlank(message="项目详细不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String description;
	//详细地址
	@NotBlank(message="项目详细地址不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String detailedaddress;
	//联系信息
	@NotBlank(message="联系信息不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String connection;
	//创建时间
	private Date createtime;
	//审核状态
	@NotNull(message="审核状态不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer auditstatus;
	//通过时间
	private Date auditdate;
	//不通过原因
	private String cannotpassreason;
	//处理人id
	private Long dealuser;
	//更新时间
	private Date updatetime;
	//浏览次数
	@NotNull(message="浏览次数不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer viewtimes;
	//收藏次数
	@NotNull(message="收藏次数不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer collecttimes;
	//软删除
	@NotNull(message="软删除不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer isdel;
	//项目类型
	@NotNull(message="项目类型不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer projecttype;
	//项目进度
	@NotNull(message="项目进度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer projectprogress;
	//项目人数
	@NotNull(message="项目人数不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer peoplenum;
	//备用字段01
	private String varchar01;
	//备用字段02
	private String varchar02;

	/**
	 * 设置：项目信息id
	 */
	public void setProjectinfoid(String projectinfoid) {
		this.projectinfoid = projectinfoid;
	}
	/**
	 * 获取：项目信息id
	 */
	public String getProjectinfoid() {
		return projectinfoid;
	}
	/**
	 * 设置：地区id
	 */
	public void setAreainfoid(Integer areainfoid) {
		this.areainfoid = areainfoid;
	}
	/**
	 * 获取：地区id
	 */
	public Integer getAreainfoid() {
		return areainfoid;
	}
	/**
	 * 设置：发布者
	 */
	public void setCreateuser(String createuser) {
		this.createuser = createuser;
	}
	/**
	 * 获取：发布者
	 */
	public String getCreateuser() {
		return createuser;
	}
	/**
	 * 设置：项目名称
	 */
	public void setProjectname(String projectname) {
		this.projectname = projectname;
	}
	/**
	 * 获取：项目名称
	 */
	public String getProjectname() {
		return projectname;
	}
	/**
	 * 设置：项目详细
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：项目详细
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：其他备注内容
	 */
	public void setDetailedaddress(String detailedaddress) {
		this.detailedaddress = detailedaddress;
	}
	/**
	 * 获取：详细地址
	 */
	public String getDetailedaddress() {
		return detailedaddress;
	}
	/**
	 * 设置：联系信息
	 */
	public void setConnection(String connection) {
		this.connection = connection;
	}
	/**
	 * 获取：联系信息
	 */
	public String getConnection() {
		return connection;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * 设置：审核状态
	 */
	public void setAuditstatus(Integer auditstatus) {
		this.auditstatus = auditstatus;
	}
	/**
	 * 获取：审核状态
	 */
	public Integer getAuditstatus() {
		return auditstatus;
	}
	/**
	 * 设置：通过时间
	 */
	public void setAuditdate(Date auditdate) {
		this.auditdate = auditdate;
	}
	/**
	 * 获取：通过时间
	 */
	public Date getAuditdate() {
		return auditdate;
	}
	/**
	 * 设置：不通过原因
	 */
	public void setCannotpassreason(String cannotpassreason) {
		this.cannotpassreason = cannotpassreason;
	}
	/**
	 * 获取：不通过原因
	 */
	public String getCannotpassreason() {
		return cannotpassreason;
	}
	/**
	 * 设置：处理人id
	 */
	public void setDealuser(Long dealuser) {
		this.dealuser = dealuser;
	}
	/**
	 * 获取：处理人id
	 */
	public Long getDealuser() {
		return dealuser;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdatetime() {
		return updatetime;
	}
	/**
	 * 设置：浏览次数
	 */
	public void setViewtimes(Integer viewtimes) {
		this.viewtimes = viewtimes;
	}
	/**
	 * 获取：浏览次数
	 */
	public Integer getViewtimes() {
		return viewtimes;
	}
	/**
	 * 设置：收藏次数
	 */
	public void setCollecttimes(Integer collecttimes) {
		this.collecttimes = collecttimes;
	}
	/**
	 * 获取：收藏次数
	 */
	public Integer getCollecttimes() {
		return collecttimes;
	}
	/**
	 * 设置：软删除
	 */
	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}
	/**
	 * 获取：软删除
	 */
	public Integer getIsdel() {
		return isdel;
	}
	/**
	 * 设置：项目类型
	 */
	public void setProjecttype(Integer projecttype) {
		this.projecttype = projecttype;
	}
	/**
	 * 获取：项目类型
	 */
	public Integer getProjecttype() {
		return projecttype;
	}
	/**
	 * 设置：备用字段01
	 */
	public void setVarchar01(String varchar01) {
		this.varchar01 = varchar01;
	}
	/**
	 * 获取：备用字段01
	 */
	public String getVarchar01() {
		return varchar01;
	}
	/**
	 * 设置：备用字段02
	 */
	public void setVarchar02(String varchar02) {
		this.varchar02 = varchar02;
	}
	/**
	 * 获取：备用字段02
	 */
	public String getVarchar02() {
		return varchar02;
	}

	public Integer getProjectprogress() {
		return projectprogress;
	}

	public void setProjectprogress(Integer projectprogress) {
		this.projectprogress = projectprogress;
	}

	public Integer getPeoplenum() {
		return peoplenum;
	}

	public void setPeoplenum(Integer peoplenum) {
		this.peoplenum = peoplenum;
	}
}
